package com.example.demospringmybatisplus.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demospringmybatisplus.entity.Node;
import com.example.demospringmybatisplus.service.NodeDataCheckService;

/**
 * 网元数据校验Controller
 *
 * @author huahua
 * @DATE 2024/8/9
 **/
@RestController
public class NodeDataCheckController {

    @Autowired
    private NodeDataCheckService nodeDataCheckService;

    @RequestMapping("checkNodeData")
    public void checkNodeData(Node node) {
        nodeDataCheckService.validNodeData(node);
    }
}
